package com.sl.service.iml;

import com.sl.dao.InjectionDao;
import com.sl.service.InjectionService;

/**
 * Created by Administrator on 2015/2/2.
 */
public class InjectionServiceIml implements InjectionService{

    private InjectionDao dao;

    public InjectionDao getDao() {
        return dao;
    }

    public void setDao(InjectionDao dao) {
        this.dao = dao;
    }

    @Override
    public void save(String str) {
        System.out.println("service接收数据："+str);
        str = str +":"+str.hashCode();
        dao.save(str);
    }
}
